package com.radiant.data.entity;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;

public interface GenericDAO<T> {
	
	Class<T> getPersistentClass();
	
	T newInstance() throws InstantiationException, IllegalAccessException;        
	
	T findByPrimaryKey(String id, boolean consistentRead);
	
	T save(Object value);
	
	void delete(T entity);

}
